package com.qcu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qcu.dto.Review;
import com.qcu.dto.chart.UserGoodCount;
import com.qcu.entity.Post;
import com.qcu.util.Response;

import java.util.List;

/**
* @author MyComputer
* @description 针对表【post】的数据库操作Service
* @createDate 2025-02-15 09:28:14
*/
public interface PostService extends IService<Post> {

    boolean savePost(String title, String content, String imgUrl);

    Response getAllPost(Integer page, Integer size);

    Response auditPost(Review review);

    List<UserGoodCount> getTopUserGoodCounts();
}
